package practicedemo61;

public class Test {
    public static void main(String[] args) {
        SharPei dog1 = new SharPei();
        Husky dog2 = new Husky();
        ChineseFieldDog dog3 = new ChineseFieldDog();

        dog1.eat();
        dog1.drink();
        dog1.keepHome();
        System.out.println();
        dog2.eat();
        dog2.drink();
        dog2.keepHome();
        dog2.homeBroke();
        System.out.println();
        dog3.eat();
        dog3.drink();
        dog3.keepHome();


    }
}
